package com.example.demo.domain;

     public class Book {
 private Integer id;
 private String name;
 private String author;
 private String press;
 private String status;
 public Book(Integer id, String name, String author,String press,
 String status) {
            this.id = id;
            this.name = name;
            this.press = press;
            this.author = author;
            this.status = status;
             }

         public Integer getId() {
             return id;
         }

         public void setId(Integer id) {
             this.id = id;
         }

         public String getName() {
             return name;
         }

         public void setName(String name) {
             this.name = name;
         }

         public String getAuthor() {
             return author;
         }

         public void setAuthor(String author) {
             this.author = author;
         }

         public String getPress() {
             return press;
         }

         public void setPress(String press) {
             this.press = press;
         }

         public String getStatus() {
             return status;
         }

         public void setStatus(String status) {
             this.status = status;
         }
     }


